package social.hub.impl.scribe;

import social.hub.SocialHubFactory;
import social.hub.api.ApiConfig;
import social.hub.api.facebook.FacebookApi;
import social.hub.api.google.buzz.BuzzApi;
import social.hub.api.google.orkut.OrkutApi;
import social.hub.api.linkedin.LinkedInApi;
import social.hub.api.twitter.TwitterApi;
import social.hub.impl.scribe.oauth.ScribeOAuthProvider;
import social.hub.oauth.OAuthConfig;
import social.hub.oauth.OAuthProvider;

public class ScribeSocialHubFactory implements SocialHubFactory {

	@Override
	public BuzzApi getBuzzApi(ApiConfig config) {
		throw new UnsupportedOperationException();
	}

	@Override
	public FacebookApi getFacebookApi(String accessToken) {
		throw new UnsupportedOperationException();
	}

	@Override
	public LinkedInApi getLinkedInApi(String accessToken) {
		throw new UnsupportedOperationException();
	}

	@Override
	public OrkutApi getOrkutApi(ApiConfig config) {
		throw new UnsupportedOperationException();
	}

	@Override
	public OAuthProvider getProvider(OAuthConfig config) {
		return new ScribeOAuthProvider(config);
	}

	@Override
	public TwitterApi getTwitterApi(ApiConfig config) {
		throw new UnsupportedOperationException();
	}

}
